package com.ldf.media.constants;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 常量
 *
 * @author lidaofu
 * @since 2023/11/30
 **/
public interface MediaServerConstants {

    // 存储流最后活动时间
    static final Map<String, Long> streamLastActiveTime = new ConcurrentHashMap<>();

    // 播放器计数器
    static final Map<String, Integer> playerCountMap = new ConcurrentHashMap<>();


    /**
     * 默认vhost
     */
    String DEFAULT_VHOST = "__defaultVhost__";

    /**
     * 默认app
     */
    String DEFAULT_APP = "live";
}
